﻿<Window x:Class="LOMM3Shell.WindowSplash"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="LOMM" Height="300" Width="462"
    xmlns:ds="clr-namespace:LOMM3Shell">
    
    <Window.Resources>
        <ObjectDataProvider x:Key="SplashEvents" ObjectType="{x:Type ds:SplashEventsList}"/>
    </Window.Resources>
    
    <Grid>
        <Image Name="imgBanner" Stretch="Uniform" Height="49" VerticalAlignment="Top" IsEnabled="False" Source="/LOMM3Shell;component/Resources/add.png" HorizontalAlignment="Left" />
        <ListView Margin="12,55,12,12" Name="lstEvents" ItemsSource="{Binding Source={StaticResource SplashEvents}}">
            <ListView.View>
                <GridView AllowsColumnReorder="false">
                    <GridViewColumn Width="40">
                        <GridViewColumn.CellTemplate>
                            <DataTemplate>
                                <Image Source="{Binding Icon}" Stretch="Uniform"/>
                            </DataTemplate>
                        </GridViewColumn.CellTemplate>
                    </GridViewColumn>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=FormattedTime}" Header="Time"        Width="Auto"/>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=Game}"          Header="Source"      Width="Auto"/>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=Description}"   Header="Description" Width="Auto"/>                    
                </GridView>
            </ListView.View>
        </ListView>
    </Grid>
</Window>
